package com.lifa.service.impl;



import com.lifa.entity.Kucunpandiantongji;

import com.lifa.service.KucunpandiantongjiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KucunpandiantongjiServiceimpl implements KucunpandiantongjiService {

    @Autowired
    private KucunpandiantongjiService kucunpandiantongjiDao;

    public List<Kucunpandiantongji> pandian() {
        return kucunpandiantongjiDao.pandian();
    }

    @Override
    public long kucunpandianzongtiaoshu(String dianpuStr) {
        return kucunpandiantongjiDao.kucunpandianzongtiaoshu(dianpuStr);
    }

    @Override
    public List<Kucunpandiantongji> kucunpandianfenye(String dianpuStr, int offset, int limit) {
        return kucunpandiantongjiDao.kucunpandianfenye(dianpuStr, offset, limit);
    }
}
